package com.结构型模式.外观者模式.抽象外观者实现;

/**
 * 加入抽象实现起来就可以随意组合字组件了。
 * @author chenhs
 * @date 2020/10/21
 */
public class Test {
	public static void main(String[] args) {
		Appearance1 appearance1 = new Appearance1();
		Appearance2 appearance2 = new Appearance2();
		appearance2.speak();
		System.out.println("--------------------------------------------------");
		appearance1.speak();
		
	}
}
